package Java开发实战经典.chapter04;

public class ArrayDemo01 {
    public static void main(String[] args){
//        int score[] = null;
//        score = new int[3];
        int score[] = new int[3];
        System.out.println("score[0] = " + score[0] );
        System.out.println("score[1] = " + score[1] );
        System.out.println("score[2] = " + score[2] );
        for (int x = 0; x < 3; x++){
            System.out.println("score[" + x + "] = " + score[x] );
        }


    }
}
